﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AplicacionMVC.VeterinarioWS.Veterinario>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Nuevo Veterinario
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
     <% Html.EnableClientValidation(); %>
    <% using (Html.BeginForm())
       {%>
    <%: Html.ValidationSummary(true) %>
    <fieldset>
        <legend>Datos Principales</legend>
        <table>
            <tr>
                <th>
                    Nombres
                </th>
                <th>
                    A. Paterno
                </th>
                <th>
                    A. Materno
                </th>
                <th>
                    N.C.V.P.
                </th>
            </tr>
            <tr>
                <td>
                    <div class="editor-field">
                        <%: Html.TextBoxFor(model => model.txtVeterinarioNombre) %>
                        <%: Html.ValidationMessageFor(model => model.txtVeterinarioNombre) %>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%: Html.TextBoxFor(model => model.txtVeterinarioApellidoP) %>
                        <%: Html.ValidationMessageFor(model => model.txtVeterinarioApellidoP) %>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%: Html.TextBoxFor(model => model.txtVeterinarioApellidoM) %>
                        <%: Html.ValidationMessageFor(model => model.txtVeterinarioApellidoM) %>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%: Html.TextBoxFor(model => model.numCVP) %>
                        <%: Html.ValidationMessageFor(model => model.numCVP) %>
                    </div>
                </td>
            </tr>
        </table>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
    <% } %>
    <div>
        <%: Html.ActionLink("Regresar", "Index") %>
    </div>
</asp:Content>
